package com.ashin;

import java.io.IOException;
import java.util.Map;

import org.apache.http.ParseException;
import org.apache.http.client.ClientProtocolException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

//省直光闸工具
public class SzDdjsUtil {

    private static Logger logger = LoggerFactory.getLogger(SzDdjsUtil.class);

    /**
     * http post
     * 
     * @param url
     * @param parameters
     *            json
     * @return response
     * @throws ClientProtocolException
     * @throws IOException
     * @throws ParseException,Exception
     */
    public Map<String, Object> postJsonM(String url, Map<String, Object> params)
            throws ClientProtocolException, IOException, ParseException, Exception {

        return HttpClient.postJsonM(url, params, "utf-8");

    }

}
